package cn.miju.ser.unionpay.service;

import cn.miju.unionpay.model.PayResultNotifyRequest;
import cn.miju.unionpay.model.RefundResultNotifyRequest;

/**
 * <pre>
 * 银联云闪付回调接口
 * </pre>
 *
 * @author zhuming
 * @version 1.0.0
 * @since 2023-03-16 15:29
 */
public interface UnionPayCallbackService {
    /**
     * 支付结果通知
     * @param request 入参
     */
    void payCallbackNotify(PayResultNotifyRequest request);

    /**
     * 退款结果通知
     * @param request 入参
     */
    void refundResultNotify(RefundResultNotifyRequest request);
}
